home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 326-350 / disk_348 / diseditor / cmacros / readme < prev   
Text File  |  1992-05-06  |  1KB  |  34 lines

  1. This describes the macros in CMacros. This a file of 30 macros designed for
  2. C programming.  To load the file, select "Macro Load" under the "Setup" menu.
  3. Press Function key F1 at the prompt "Press Function key combo to LOAD". Enter
  4. 30 for the number of macros.
  5.  
  6. F1    -  types "void"
  7. F2    -  types "extern"
  8. F3    -  types "static"
  9. F4    -  starts a new line and types "#define"
  10. F5    -  starts a new line and types "#include" plus the two quote chars.
  11.          Places the cursor inbetween the quotes.
  12. F6    -  types a template for the struct definition.
  13. F7    -  types a typical loop template with i as the loop variable
  14. F8    -  types a case statement
  15. F9    -  types a return() statement with the cursor between the parenthesis
  16. F10   -  types the comment identifiers with the cursor inbetween
  17.  
  18. SHIFTED
  19. F1    -  types "SHORT"
  20. F2    -  types "USHORT"
  21. F3    -  types "LONG"
  22. F4    -  types "ULONG"
  23. F5    -  types "BYTE"
  24. F6    -  types "UBYTE"
  25. F7    -  types "APTR"
  26. F8    -  types "INT"
  27. F9    -  types "struct  *" and places the cursor before the *
  28. F10   -  types "if (!=0)" and places the cursor before the !
  29.  
  30. ALT
  31. F1    -  types "break;"
  32. F2    -  sets up an ifdef/endif section
  33.  
  34.